<!-- inc:frame.top -->

<div class="position"><p><!-- inc:position --> &raquo; <a href="{:$mainlink}?file=system&act=set">系统设置</a> &raquo; <a href="{:$mainlink}?file=tpldomain&act=list">域名绑定</a></p><!-- inc:position.fr --></div>

<div class="page_pad">
  <div class="content_add"><button class="gbutton gbutton_dblue gbutton_add" type="button" onclick="qgurl('{:$mainlink}?file=tpldomain&act=add')">添加绑定</button></div>
  
  <div class="content_box">
    <div class="content_bor">
      <table class="ltable">
        <tr class="first">
          <td>语言版本</td>
          <td>域名</td>
          <td width="220">操作</td>
        </tr>
        <!-- $rslist AS $key=>$value -->
        <!-- $value[domain] AS $key=>$value2 -->
        <tr>
          <td>{:$value[name]}</td>
          <td>{:$value2[domain]}</td>
          <td><button class="gbutton" type="button" onclick="to_modify('{:$value2[id]}')">修改绑定</button> &nbsp; <button class="gbutton" type="button" onclick="to_delete('{:$value2[id]}','{:$value2[domain]}')">解除绑定</button></td>
        </tr>
        <!-- end -->
        <!-- end -->
      </table>
    </div>
  </div><!--content_box-->
</div><!--page_pad-->

<script type="text/javascript">
function to_modify(id)
{
	qgurl("{:$mainlink}?file=tpldomain&act=modify&id="+id);
}
function to_delete(id,name)
{
	url = "{:$mainlink}?file=tpldomain&act=delete&id="+id;
	tip_confirm("确定要解除 " + name + " 域名吗？",url);
}
</script>

<!-- inc:frame.bottom -->